package app.auto;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import androidx.multidex.MultiDex;
import androidx.multidex.MultiDexApplication;

/**
 * Created by Administrator on 2017/10/26.
 */
public class App extends MultiDexApplication {
    public List getLoadParams() {
        return Arrays.asList(Deploy.CRASH_HANDLER
                , Deploy.DIPUTIL
                , Deploy.SPREF
                , Deploy.STORAGE_SD_DIR
                , Deploy.XUTIL
//                , Deploy.PICASO
//                , Deploy.OKHTTP_SSL
        );
    }

    @Override
    public void onCreate() {
        super.onCreate();
        MultiDex.install(this);

        Deploy.get(Deploy.class, this).addlist(getLoadParams()).init();
    }

}
